Optimal. Leaf size=21 \[ \frac{(a+b \log (c x))^{p+1}}{b (p+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0276097, antiderivative size = 21, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.143, Rules used = {2302, 30} \[ \frac{(a+b \log (c x))^{p+1}}{b (p+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2302
Rule 30
Rubi steps
\begin{align*} \int \frac{(a+b \log (c x))^p}{x} \, dx &=\frac{\operatorname{Subst}\left (\int x^p \, dx,x,a+b \log (c x)\right )}{b}\\ &=\frac{(a+b \log (c x))^{1+p}}{b (1+p)}\\ \end{align*}
Mathematica [A] time = 0.0062163, size = 21, normalized size = 1. \[ \frac{(a+b \log (c x))^{p+1}}{b (p+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.037, size = 22, normalized size = 1.1 \begin{align*}{\frac{ \left ( a+b\ln \left ( cx \right ) \right ) ^{1+p}}{b \left ( 1+p \right ) }} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.03041, size = 63, normalized size = 3. \begin{align*} \frac{{\left (b \log \left (c x\right ) + a\right )}{\left (b \log \left (c x\right ) + a\right )}^{p}}{b p + b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 1.33317, size = 39, normalized size = 1.86 \begin{align*} - \begin{cases} - a^{p} \log{\left (x \right )} & \text{for}\: b = 0 \\- \frac{\begin{cases} \frac{\left (a + b \log{\left (c x \right )}\right )^{p + 1}}{p + 1} & \text{for}\: p \neq -1 \\\log{\left (a + b \log{\left (c x \right )} \right )} & \text{otherwise} \end{cases}}{b} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.28614, size = 28, normalized size = 1.33 \begin{align*} \frac{{\left (b \log \left (c x\right ) + a\right )}^{p + 1}}{b{\left (p + 1\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]